package threading;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2022-09-13
 * Time: 11:55
 */
public class demo1 {
    public static void main(String[] args) {

            Thread t = new Thread(new Runnable() {
                @Override
                public void run() {
                    System.out.println("1");
                }
            });
            t.start();
            System.out.println("2");
        }
    }
